﻿@model LotteryVoteMVC.Models.BetUpperLimit
@using LotteryVoteMVC.Core
@using LotteryVoteMVC.Core.Application
@using LotteryVoteMVC.Resources
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>@(Resource.Edit + Resource.UpperLimit)</title>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/comm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/DynamicRange.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/ajaxHelper.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/comm.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/TableBase.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/inputs.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    @using (Html.BeginForm())
    {
        <table cellpadding="0" cellspacing="0">
            <thead>
                <tr>
                    <td colspan="2">
                        @(Resource.Edit + Resource.UpperLimit)
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>
                        @Resource.Num
                    </td>
                    <td>
                        @Html.DisplayFor(it => it.Num)
                    </td>
                </tr>
                <tr>
                    <td>
                        @Resource.GameType
                    </td>
                    <td>
                        @Extended.GetGPWDescription(Model.GamePlayWayId)
                    </td>
                </tr>
                <tr>
                    <td>
                        @Resource.Company
                    </td>
                    <td>
                        @LotterySystem.Current.FindCompany(Model.CompanyId).Name
                    </td>
                </tr>
                <tr>
                    <td>
                        @Resource.Limit
                    </td>
                    <td>
                        @Html.TextBoxFor(it => it.UpperLlimit)
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" name="submit" id="submit" value="@Resource.Submit" />
                        <input type="reset" name="reset" id="reset" value="@Resource.Reset" />
                    </td>
                </tr>
            </tbody>
        </table>
    }
</body>
</html>
